#ifndef ERLANGRANDOM_H
#define ERLANGRANDOM_H
#include <QLinkedList>

#include "Random.h"
#include "ExponentialRandom.h"

class ErlangRandom : public Random
{
public:
    ErlangRandom(double lambda, int k);
    virtual double Next();
private:
    QLinkedList<ExponentialRandom*> exponentialRandoms;
    double lambda;
    int k;
};

#endif // ERLANGRANDOM_H
